<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<link href="${ctx}/resources/css/type.css" rel="stylesheet">
<link href="${ctx}/resources/css/repain.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="http://static.52xiaoluo.com/zxx.lib-min.css"/>
<script>
    window.onload = function(){
        if(window.top != window.self){
//            window.top.location.hash = location.href;
            var href = location.href;

            //window.parent.location.replace("#" + href);
            //console.debug( window.parent.location);
            //更新hash，不添加history，只支持IE10以上，需要做兼容。
            if(window.parent.history.replaceState){
                window.parent.history.replaceState(undefined, undefined, "#" + href);
            }
        }
    };

</script>